package com.fenghongzhang.module_play.service

import android.app.IntentService
import android.content.Intent
import android.content.Context

// TODO: Rename actions, choose action names that describe tasks that this
// IntentService can perform, e.g. ACTION_FETCH_NEW_ITEMS
private const val ACTION_FOO = "com.fenghongzhang.module_play.service.action.FOO"
private const val ACTION_BAZ = "com.fenghongzhang.module_play.service.action.BAZ"

// TODO: Rename parameters
private const val EXTRA_PARAM1 = "com.fenghongzhang.module_play.service.extra.PARAM1"
private const val EXTRA_PARAM2 = "com.fenghongzhang.module_play.service.extra.PARAM2"

/**
 * An [IntentService] subclass for handling asynchronous task requests in
 * a service on a separate handler thread.

 * TODO: Customize class - update intent actions, extra parameters and static
 * helper methods.

 */
class MyIntentService : IntentService("MyIntentService") {

    override fun onHandleIntent(intent: Intent?) {
       //下载
    }

}